package models.corp;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.hibernate.annotations.Columns;

import models.User;
import play.data.binding.As;
import play.db.jpa.Model;

@Entity
public class Event extends Model {
	@As("dd-mm-yy")
	public Date when;
	@As("dd-mm-yy")
	public Date until;

	public String name;
	public String details;
	public User owner;

}
